<div class="a-card" ng-if="card.flag=='0'">
    <a href data-ng-click="mother.showBig(card.$index)" >
        <div class="photo-wrapper" >
            <img src="" data-ng-src="{{card.thumpath}}" data-imageloaded data-loadedclass="animation-faded">
        </div>
        <div class="photo-description">
                <h2>{{card.name}}</h2>
            </div>
    </a>
</div>
<div class="a-livephoto" ng-if="card.flag=='1'">
        <span id="livephoto{{card.$index}}"  style="width: 100%; height: 100%;"></span>
        <div class="photo-description">
                <h2>{{card.name}}</h2>
            </div>
</div>